<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WIKINDX CLASS DOCUMENTATION</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX CLASSES</h2>
<h3>
TABLE
</h3>
<strong>Class Call:</strong><br />
include_once(&quot;core/html/TABLE.php&quot;);
</p>
<p><strong>Description:</strong><br />
  <!-- #BeginEditable "classDescription" -->
Collection of methods providing HTML TABLE elements returning XHTML-compliant strings.</p>
<p>Developers should bear in mind that <em>content.tpl</em> in each template encloses the main body of WIKINDX browser display in a table cell. If you wish to add more than one table within this, you should properly close and start each table row and table cell that is part of the table definition in <em>content.tpl</em>.</p>
<p>For example, your main string to be printed to the browser may be built up as follows:</p>
<p>
<pre>
	$pString = TABLE::tableStart();
	$pString .= TABLE::trStart();
	$pString .= TABLE::td("Some text printed in a table cell in table 1.");
	$pString .= TABLE::trEnd();
	$pString .= TABLE::tableEnd();
// If this is the only table in the page, there is no need to close the table elements as found in <em>content.tpl</em>
// However, if you have another table, you must close the <em>content.tpl</em> table cell and row and start another table row and cell:
	$pString .= TABLE::tdEnd() . TABLE::trEnd() . TABLE::trStart() . TABLE::tdStart();
	$pString = TABLE::tableStart();
	$pString .= TABLE::trStart();
	$pString .= TABLE::td("Some more text printed in a table cell in table 2.");
	$pString .= TABLE::trEnd();
	$pString .= TABLE::tableEnd();
// If this is the last table in the page, there is no need to close the table elements as found in <em>content.tpl</em>
	$template->setVar('body', $pString);
</pre>
</p>
<p><strong>Methods:</strong><br />

  <a href="tableendMethod.html">tableEnd()</a><br />
  <a href="tablestartMethod.html">tableStart()</a><br />
  <a href="tdMethod.html">td()</a><br />
  <a href="tdendMethod.html">tdEnd()</a><br />
  <a href="tdstartMethod.html">tdStart()</a><br />
  <a href="trstartMethod.html">trStart()</a><br />
  <a href="trendMethod.html">trEnd()</a><br />

</p>
<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>
</html>
